// 引入样式
import "element-plus/dist/index.css";
import "virtual:svg-icons-register";
import "virtual:uno.css";
import "element-plus/theme-chalk/dark/css-vars.css";
import "@/assets/styles/index.scss";

import App from "@/App.vue";
// 注册插件
import { setUpPlugin } from "@/plugins/index";
// 注册组件
import "@/components/index";

import { createApp } from "vue";
import { setupStore } from "@/store";
import { setupDirectives } from "@/directives";
import { setupRouter } from "@/router";
import { setupI18n } from "@/lang/index";

const app = createApp(App);
setupStore(app);
setupRouter(app);
setupDirectives(app);
setupI18n(app);
setUpPlugin(app);
app.mount("#app");
